nav {
  position: relative;
  background-color: #86b3f2;
  height: .6rem;
}

nav li {
  font-size: .16rem;
  color: #ffffff;
}

.nav-bar li {
  float: left;
  margin-left: .3rem;
  font-size: .16rem;
  line-height: .6rem;
}

.nav-bar li:first-child {
  margin-left: .2rem;
}

.menu-content {
  display: none;
  position: absolute;
  left: 1.5rem;
  top: .7rem;
  padding: .1rem;
  width: .6rem;
  border-radius: .04rem;
  background-color: #6c7398;
  text-align: center;
}

.menu-content li {
  line-height: .24rem;
}